/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ipinyou.wordstatistics.listener;

import com.ipinyou.wordstatistics.core.HandleResult;
import com.ipinyou.wordstatistics.core.IHandleDoneListener;
import java.util.List;

/**
 *
 * @author xiangnan.wang@ipinyou.com
 */
public class ShowResultListener implements IHandleDoneListener{

    public void handle(List<HandleResult> results) {
        for(HandleResult result:results){
            System.out.println(result);
        }
    }

}
